<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="./js/jquery.min.js"></script>

</head>
<body>
    <div>测试文本</div>
    <script>
        var mydiv = $("div")[0];
        alert(mydiv.innerHTML)
    </script>
</body>
</html>